package net.huashitong.nodeFile.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import com.sirdc.modules.sys.entity.SysFile;

import net.huashitong.nodeFile.Filter.SysBnpFileFilter;
import net.huashitong.nodeFile.entity.SysBnpFile;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 仿--备案
 * Created by hyp1202 on 2018/7/16.
 */
@Repository
public class SysBnpFileDao extends StringDao<SysBnpFile> {
    public List<SysFile> query(SysBnpFileFilter filter) {
        GenericQuery query = this.createQuery("obj");
        return query.listResult(filter);
    }
}
